1) You don't actually need to pass any argument to process_text function, since it opens the text file anyway. So that should be changed to: def process_text() and make sure you don't pass it when you call the function:
def stanford_main(): print(stanford_tagger(process_text(txt_file))) - delete the txt_file
def nltk_main(): print(nltk_tagger(process_text(txt_file))) - delete the txt_file
2) os.times()[4] doesn't seem to work for me (Python 3.4) - if you're having the same problem, import time and use time.clock() instead: